module.exports = {
  value: {
    type: Number,
    default: 1,
    name: '当前页',
    filedType: 'value'
  },

  pageSize: {
    type: Number,
    default: 10,
    name: '每页显示多少行',
    filedType: 'string'
  },

  total: {
    type: Number,
    default () {
      return {
        total: 50
      }
    },
    name: '总数',
    filedType: 'api'
  },

  resetVar: {
    type: [String, Number, Boolean, Array],
    default: '',
    name: '页码重置标识',
    nameTip: '该变量的值改变时，会将当前页码重置为1，用{{libX_.name}}引用变量值',
    filedType: 'string'
  },

  color: {
    type: String,
    default: '#333',
    name: '文本颜色',
    filedType: 'color'
  },

  btnBgColor: {
    type: String,
    default: '#f5f5f5',
    name: '按钮背景色',
    filedType: 'color'
  },

  activeColor: {
    type: String,
    default: '#ffffff',
    name: '选中文本色',
    filedType: 'color'
  },

  activeBg: {
    type: String,
    default: '#409eff',
    name: '选中背景色',
    filedType: 'color'
  },

  btnDisabledBgColor: {
    type: String,
    default: '#f5f5f5',
    name: '按钮禁用背景色',
    filedType: 'color'
  },

  btnDisabledColor: {
    type: String,
    default: '#C0C4CC',
    name: '按钮禁用文本色',
    filedType: 'color'
  },

  inputBgColor: {
    type: String,
    default: '#ffffff',
    name: '输入框背景色',
    filedType: 'color'
  },

  inputColor: {
    type: String,
    default: '#333333',
    name: '输入框文本色',
    filedType: 'color'
  },

  InputBorderColor: {
    type: String,
    default: '#dcdfe6',
    name: '输入框边框色',
    filedType: 'color'
  },

  alignType: {
    type: Array,
    default: 'flex-end',
    name: '对齐方式',
    filedType: 'select',
    options: [
      {
        name: '左对齐',
        value: 'flex-start'
      },
      {
        name: '居中对齐',
        value: 'center'
      },
      {
        name: '右对齐',
        value: 'flex-end'
      }
    ],
    // 是否支持多选，支持多选时default要指定为数组
    multiple: false
  },

  lineHeight: {
    type: String,
    default: '28px',
    name: '行高',
    filedType: 'string'
  },
  fontSize: {
    type: String,
    default: '14px',
    name: '文本字体',
    filedType: 'string'
  },

  layout: {
    type: String,
    default: 'total, prev, pager, next, jumper', // total, prev, pager, next, jumper
    name: '页码layout',
    filedType: 'string'
  },
  showSimple: {
    type: Boolean,
    default: false,
    name: '显示slot精简页码',
    filedType: 'switch'
  },

  custBtn: {
    type: Boolean,
    default: false,
    name: '定制按钮样式',
    filedType: 'switch'
  },
  btnColor: {
    type: String,
    default: '',
    name: '按钮文本颜色',
    filedType: 'color'
  },
  btnBdColor: {
    type: String,
    default: 'rgba(0,0,0,0)',
    name: '按钮边框颜色',
    filedType: 'color'
  },
  btnDisabledBdColor: {
    type: String,
    default: 'rgba(0,0,0,0)',
    name: '禁用按钮边框颜色',
    filedType: 'color'
  },
  btnFontSize: {
    type: String,
    default: '12px',
    name: '按钮文本字体',
    filedType: 'string'
  },
  btnWidth: {
    type: String,
    default: '',
    name: '按钮宽度',
    filedType: 'string'
  },

  pgFontSize: {
    type: String,
    default: '16px',
    name: '页码字体',
    filedType: 'string'
  },
  pgColor: {
    type: String,
    default: '#333',
    name: '页码颜色',
    filedType: 'color'
  },
  pgFontWeight: {
    type: String,
    default: '700',
    name: '页码粗细',
    filedType: 'string'
  },
  pgBorderRadius: {
    type: String,
    default: '2px',
    name: '页码背景圆角',
    filedType: 'string'
  },
}

// Helvetica Neue,,宋体,Arial,Helvetica,sans-serif
